package cn.wolfcode.car.business.mapper;

import cn.wolfcode.car.business.domain.BusCustomer;
import cn.wolfcode.car.business.query.BusCustomerQuery;

import java.util.List;

public interface BusCustomerMapper {
    int deleteByPrimaryKey(Long id);

    int insert(BusCustomer record);

    BusCustomer selectByPrimaryKey(Long id);

    List<BusCustomer> selectAll();

    int updateByPrimaryKey(BusCustomer record);

    List<BusCustomer> selectForList(BusCustomerQuery qo);

    int checkPhoneNumber(String phone);
}